package com.wwt.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wwt.server.pojo.Admin;
import com.wwt.server.vo.Result;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tao
 * @since 2021-12-05
 */
public interface IAdminService extends IService<Admin> {
    Result login(String username, String password, String code, HttpServletRequest request);
    Admin getAdminInfo(String username);

    List<Admin> getAdmin(String keywords);
    boolean updateById1(Admin admin);
}
